package com.ruanda.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Schema(description = "购物车商品总金额对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CartTotalAmount {
    @Schema(description = "合计")
    private BigDecimal finalMoney = BigDecimal.ZERO;
    @Schema(description = "总额")
    private BigDecimal totalMoney = BigDecimal.ZERO;
    @Schema(description = "优惠金额")
    private BigDecimal subtractMoney = BigDecimal.ZERO;
    @Schema(description = "运费")
    private BigDecimal transMoney = BigDecimal.ZERO;
}